create

open override fun create(scannerSettingsBuilder: (Permissions) -> BaseScanner.Settings, coroutineContext: CoroutineContext): Bluetooth

Creates a Bluetooth object

Return

the created Bluetooth

Parameters

scannerSettingsBuilder

a method for getting the BaseScanner.Settings to be used while scanning from a CoroutineContext

coroutineContext

the CoroutineContext in which Bluetooth runs